package com.cjkj.equipment.domain;

import com.cjkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 设备监测数据记录对象 equipment_monitor_records
 * 
 * @author cjkj
 * @date 2024-08-15
 */
public class EquipmentMonitorRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 产品id */
    private String productId;

    /** 设备编号 */
    private String equipmentNo;

    /** 穿戴状态:0 - 未佩戴;1 - 已佩戴 */
    private Integer wState;

    /** 电池电量 */
    private Integer batpt;

    /** 血氧饱和度 */
    private Integer spo2;

    /** 舒张压 */
    private Integer dbp;

    /** 收缩压 */
    private Integer sbp;

    /** 体温 */
    private Float temp;

    /** 心率 */
    private Integer hr;

    /** 故障状态（0-有故障，1-无故障） */
    private Integer restHeart;

    /** 体温传感器状态（0-插入，1-未插入） */
    private Integer tempSensorStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }

    public void setEquipmentNo(String equipmentNo) 
    {
        this.equipmentNo = equipmentNo;
    }

    public String getEquipmentNo() 
    {
        return equipmentNo;
    }

    public void setwState(Integer wState) 
    {
        this.wState = wState;
    }

    public Integer getwState() 
    {
        return wState;
    }

    public void setBatpt(Integer batpt) 
    {
        this.batpt = batpt;
    }

    public Integer getBatpt() 
    {
        return batpt;
    }

    public void setSpo2(Integer spo2) 
    {
        this.spo2 = spo2;
    }

    public Integer getSpo2() 
    {
        return spo2;
    }

    public void setDbp(Integer dbp) 
    {
        this.dbp = dbp;
    }

    public Integer getDbp() 
    {
        return dbp;
    }

    public void setSbp(Integer sbp) 
    {
        this.sbp = sbp;
    }

    public Integer getSbp() 
    {
        return sbp;
    }

    public void setTemp(Float temp)
    {
        this.temp = temp;
    }

    public Float getTemp()
    {
        return temp;
    }

    public void setHr(Integer hr) 
    {
        this.hr = hr;
    }

    public Integer getHr() 
    {
        return hr;
    }

    public void setRestHeart(Integer restHeart) 
    {
        this.restHeart = restHeart;
    }

    public Integer getRestHeart() 
    {
        return restHeart;
    }

    public void setTempSensorStatus(Integer tempSensorStatus) 
    {
        this.tempSensorStatus = tempSensorStatus;
    }

    public Integer getTempSensorStatus() 
    {
        return tempSensorStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("equipmentNo", getEquipmentNo())
            .append("createTime", getCreateTime())
            .append("wState", getwState())
            .append("batpt", getBatpt())
            .append("spo2", getSpo2())
            .append("dbp", getDbp())
            .append("sbp", getSbp())
            .append("temp", getTemp())
            .append("hr", getHr())
            .append("restHeart", getRestHeart())
            .append("tempSensorStatus", getTempSensorStatus())
            .toString();
    }
}
